package com.etone.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.etone.common.annotation.Excel;
import com.etone.common.core.domain.BaseEntity;

/**
 * 货位对象 sys_storage
 *
 * @author etone
 * @date 2025-05-27
 */
public class SysStorage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 排的id */
    @Excel(name = "排的id")
    private Long arrangeId;

    /** 列的id */
    @Excel(name = "列的id")
    private Long lieId;

    /** 仓位编码 */
    @Excel(name = "仓位编码")
    private String cangweiNo;

    /** 客仓编码 */
    @Excel(name = "客仓编码")
    private String kecangNo;

    /** 组织 */
    @Excel(name = "组织")
    private String zuzhi;

    /** 列的type */
    @Excel(name = "列的type")
    private String lieType;

    /** 0 空闲  1  有货 */
    @Excel(name = "0 空闲  1  有货")
    private Long isFree;

    /** 0 未删除  2 已删除 */
    @Excel(name = "0 未删除  2 已删除")
    private Long deleted;

    /** 0 无请求  1 有请求 */
    @Excel(name = "0 无请求  1 有请求")
    private Long isRequest;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderNum;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setArrangeId(Long arrangeId)
    {
        this.arrangeId = arrangeId;
    }

    public Long getArrangeId()
    {
        return arrangeId;
    }
    public void setLieId(Long lieId)
    {
        this.lieId = lieId;
    }

    public Long getLieId()
    {
        return lieId;
    }
    public void setCangweiNo(String cangweiNo)
    {
        this.cangweiNo = cangweiNo;
    }

    public String getCangweiNo()
    {
        return cangweiNo;
    }
    public void setKecangNo(String kecangNo)
    {
        this.kecangNo = kecangNo;
    }

    public String getKecangNo()
    {
        return kecangNo;
    }
    public void setZuzhi(String zuzhi)
    {
        this.zuzhi = zuzhi;
    }

    public String getZuzhi()
    {
        return zuzhi;
    }
    public void setLieType(String lieType)
    {
        this.lieType = lieType;
    }

    public String getLieType()
    {
        return lieType;
    }
    public void setIsFree(Long isFree)
    {
        this.isFree = isFree;
    }

    public Long getIsFree()
    {
        return isFree;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }
    public void setIsRequest(Long isRequest)
    {
        this.isRequest = isRequest;
    }

    public Long getIsRequest()
    {
        return isRequest;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("arrangeId", getArrangeId())
            .append("lieId", getLieId())
            .append("cangweiNo", getCangweiNo())
            .append("kecangNo", getKecangNo())
            .append("zuzhi", getZuzhi())
            .append("lieType", getLieType())
            .append("isFree", getIsFree())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("deleted", getDeleted())
            .append("isRequest", getIsRequest())
            .append("orderNum", getOrderNum())
            .toString();
    }
}
